﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Home.Master" Inherits="System.Web.Mvc.ViewPage<SDT.Site.ViewModels.ArticleDetailViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=Model.Article != null ?Html.Encode(Model.Article.Title) : "Bài viết không tồn tại hoặc đã bị xóa bởi người khác"%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="detail-art">
    <h2><%=Html.Encode(Model.Article.Title)%></h2>    
    <div class="content-detail-art" id="content-art">
        <%=Model.Article.ArticleContent%>
    </div>
</div>
<div class="clear"></div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContent" runat="server">
    <%--<% Html.RenderAction("Lasted", "Video", new { catid = 0, number = 3, title = string.Empty }); %>--%>
    <div class="clear"></div>
    <% Html.RenderAction("Focus", "News", new { number = 5, skip = 0, catid = Model.Article.ArticleCategory != null ? Model.Article.ArticleCategory.ID : SDT.Model.ConfigManager.GetArticle(), title = "Tin tiêu điểm", order = "nViews", orderDir = "desc" }); %>
</asp:Content>
